﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.Enum;
using Comm100.Domain.Entity;
namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_Intent_AnswerInChannel")]
    public class IntentAnswerInChannel
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid IntentId { get; set; }
        public string Channel { get; set; }
        public Guid? LocationRequestId { get; set; }
        public EnumEntityCollectionType InformationCollectionType { get; set; }
        public Guid? FormId { get; set; }
        public Guid? AuthenticationRequestId { get; set; }

        [NotMapped]
        public virtual ICollection<Response> Responses { get; set; }
        [NotMapped]
        public virtual AnswerInChannelAuthenticationRequest AuthenticationRequest { get; set; }
        [NotMapped]
        public virtual AnswerInChannelLocationRequest LocationRequest { get; set; }
        [NotMapped]
        public virtual AnswerInChannelForm Form { get; set; }
        [NotMapped]
        public virtual ICollection<AnswerInChannelPrompt> Prompts { get; set; }
    }
}
